using System;
using System.Collections.Generic;
using System.Text;

namespace limpalex.bbparser.Tokens
{
    public abstract class BaseToken
    {
        public abstract TokenType Type
        { get; }

        public abstract string Text
        { get; }
        public T To<T>() where T : BaseToken
        {
            return this as T;
        }
    }
}
